/**
 * Created by jiangzhenzhen on 2016/5/6.
 */
/**
 * Created by jiangzhenzhen on 2016/5/5.
 */
/**
 * Created by jiangzhenzhen on 2016/5/3.
 */
$(document).ready(function() {

    $('#recordList').dataTable({
        "ajax": "data/record.txt",
        "bSort": false,
        "ordering":false,
        "bAutoWidth":true,
        searching: false,
        //"bLengthChange":false
        "oLanguage": {//插件的汉化
            
            "sZeroRecords": "抱歉， 没有找到",
            "sInfo": "当前显示 _START_ 到 _END_条 ,共 _TOTAL_ 条记录",
            "sInfoEmpty": "没有数据",
            "sInfoFiltered": "(从 _MAX_ 条数据中检索)",
            "oPaginate": {
                "sFirst": "首页",
                "sPrevious": "上一页",
                "sNext": "下一页",
                "sLast": "末页"
            },
            "sZeroRecords": "没有检索到数据",
            "sProcessing": "<img src='' />",
            "sSearch": "搜索"
        },
        "pagingType":   "full_numbers",
        "lengthChange":false,
        "lengthMenu": [5],
        "stripeClasses": [ 'strip1', 'strip2', 'strip3' ]
    });
    $('#recordList_info').parent().addClass('showPage');
    $('#recordList_previous').parent().addClass('pageNow');
} );